import { http } from '@/utils/http';
import type { Ranking } from './index.d';

export { Ranking };

/** 获取排行榜 */
export const getRankingPerson = () => {
	return http<Ranking.PersonData>({
		url: `/api/top/teacher`,
		method: 'GET',
	});
};
